import os,time,sys
import multiprocessing

def helloworld(q):
	q.put('xxx'*10)


def my_fork_pool_2():
	q = multiprocessing.Queue()
	p = multiprocessing.Process(target=helloworld, args=[q])
	p.start()
	p.join()
	res = q.get()
	print res

if __name__ == '__main__':
	my_fork_pool_2()